#!/usr/bin/env python
# encoding: utf-8
"""
@author: youfeng
@email: youfeng243@163.com
@license: Apache Licence
@file: beanstalk_conf.py
@time: 2018/1/3 21:31
"""


class OnlineBeanstalkConfig(object):
    HOST = '192.168.0.95'
    PORT = 11400


# 消息队列tube
class OnlineTubeConfig(object):
    TUBE_GSXT = "online_crawl_gsxt"
    TUBE_WENSHU = "online_crawl_wenshu"
    TUBE_ZHIXING = "online_crawl_zhixing"
    TUBE_SHIXIN = "online_crawl_shixin"
    TUBE_NEWS = "online_crawl_news"

    BLOCK_SIZE_GSXT = 50
    BLOCK_SIZE_WENSHU = 50
    BLOCK_SIZE_ZHIXING = 50
    BLOCK_SIZE_SHIXIN = 50
    BLOCK_SIZE_NEWS = 50

# # 消息队列参数信息
# BEANSTALK_CONF = {
#     'host': '192.168.0.94',
#     'port': 11400,
# }
#
# # 融合逻辑消息队列
# MERGE_MQ_CONF = {
#     'host': '192.168.0.93',
#     'port': 11300,
#     'tube': 'extract_info',
#     'db_tube': 'final_data',
# }
